package com.luhe.musicscore.painter.localfont;

import com.luhe.musicscore.painter.Painter;
import com.luhe.musicxml.v1.ScorePartwise;

import java.awt.*;

//绘制乐谱
public class LocalFontScorePartwisePainter extends Painter {

    int height=500;

    int weight=500;

    public ScorePartwise scorePartwise;

    WorkTitlePainter workTitlePainter;

    public void paint(Graphics g){

        String workTitle=scorePartwise.work.workTitle.workTitle;
        g.setFont(new Font("Serif", Font.PLAIN, 24));
        g.drawString(workTitle,50,100);
    }
}
